function editormd_app(name,markdown) {
	return editormd(name, {
	                        width: "100%",
	                        height: 450,
	                        path : '../statics/markdown/lib/',
	      
	                        markdown :markdown,//默认内容
	                        codeFold : true,
	                        placeholder:"Markdown编辑器在->网站设置->个性设置更换" ,
	                        saveHTMLToTextarea : true,    // 保存 HTML 到 Textarea
	                        searchReplace : true,
	                        
	                        htmlDecode : "style,script,iframe|on*",            // 开启 HTML 标签解析，为了安全性，默认不开启    
	                    
	                        emoji : true,
	                        taskList : true,
	                        tocm            : true,         // Using [TOCM]
	                        tex : false,                   // 开启科学公式TeX语言支持，默认关闭
	                        flowChart : false,             // 开启流程图支持，默认关闭
	                        sequenceDiagram : false,       // 开启时序/序列图支持，默认关闭,
	                        tocDropdown:false,
	                        imageUpload : true,
	                        imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp"],
	                        imageUploadURL : "index.php?m=manage&c=UpFile&a=up_ajax",
	                        onload : function() {
	                           // console.log('onload', this);
	                    
	                        },
							onfullscreen : function() {
							    //alert("onfullscreen");
							    //console.log("onfullscreen =>", this, this.id, this.settings);
								
								$("#"+this.id).css({width:'100%',height:'100vh','z-index': '1999'})
								
								
							},
							onfullscreenExit : function() {
							   // alert("onfullscreenExit");
							    console.log("onfullscreenExit =>", this, this.id, this.settings);
								$("#"+this.id).css({width:'calc(100%)','z-index': '99'})
							}
	                    });
}